﻿(function ($) {
    $.widget("lordjs.publisherWidget", {
        options: {
            widgetName: 'publisherWidget',
            books: null
        },
        _create: function () {
            ZEUS.DEBUG.log('Widget: ' + this.options.widgetName + " constructed");
            this.showBooks();
        },
        showBooks: function () {
            $.publish("getBookList", this.options.books);
        }
    });
})(jQuery)